package cn.e4j.modular.crm.entity;


import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 *
 * </p>
 *
 * @author liuw
 * @date 2019/09/04
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWED_T")
public class GwedT extends PO<GwedT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWEDENT", type = IdType.INPUT)
    private String GWEDENT;

    private String GWEDDOCNO;

    private String GWEDSEQ;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEDDOCDATE;

    private String GWED001;

    private String GWED002;

    private String GWED003;

    private String GWED004;

    private String GWED005;

    private String GWED006;

    private String GWED007;

    private String GWED008;

    private BigDecimal GWED009;

    private BigDecimal GWED010;

    private BigDecimal GWED011;

    private String GWED012;

    private String GWED013;

    private String GWED101;

    private String GWED102;

    private String GWED103;

    private String GWED104;

    private String GWED105;

    private String GWED106;

    private String GWED107;

    private String GWED108;

    private String GWEDPLANT;

    private String GWEDLEGAL;

    private String GWEDACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWEDUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWEDGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWEDMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWEDTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEDDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWEDORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWEDORIU;

    private String GWEDMLEGAL;

    private String GWEDCONF;

    @Override
    protected Serializable pkVal() {
        return this.GWEDENT;
    }

}
